<template>
    <div>
        <p>
            <img :src="imgUrl" alt="" />
            首页
        </p>
    </div>
</template>

<script>
export default {
    data() {
        return {
            imgUrl: 'https://img0.baidu.com/it/u=4261634184,3459888699&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500'
        };
    }
};
</script>

<style lang="scss" scoped>
p {
    width: 80px;
    text-align: center;
    font-size: 25px;
    img {
        width: 80px;
        border-radius: 15px;
    }
}
</style>
